import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    redirect:'/0'
  },
  {
    path: '/:id',
    name: 'screen',
    component: () => import('@/views/Home.vue'),
    meta:{
      title:"盐城市环境在线监测",
    } 
  },
]

const router = new VueRouter({
  routes
})

export default router
